import axios from 'axios'



const instance = axios.create({
    baseURL: '/api'
})
//   instance1.interceptors.request.use(config => {
//       if (localStorage.getItem('token')) {
//           config.headers['x-Access-token'] = localStorage.getItem('token')
//       }
//       return config
//   })

  export { instance } 